package com.dstation.service.interf;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dstation.domain.OrderInfo;

import java.util.List;
import java.util.Map;

public interface IOrderService  {
    IPage<OrderInfo> findMyOrderById(Page ipage , Long userId);

    boolean findOrderIsTimeLimit(long orderId);

    boolean dropOrderById(long orderId);

    IPage<OrderInfo> findAllOrder(Page page);

    IPage<OrderInfo> findOrderById(Page<OrderInfo> orderInfoPage, Integer orderId);
}
